import Card.Card;
import Card.CardDemo;

import java.util.ArrayList;
import java.util.List;

public class Main {
    public static void main(String[] args) {
        CardDemo cardDemo = new CardDemo();
        List<Card> cardList;
        cardList = cardDemo.buyCards();
        System.out.println(cardList.toString());
        cardDemo.shuffle(cardList);
        System.out.println(cardList.toString());
        cardDemo.play(cardList);
    }
}